{% extends 'RpmFrontBundle::layout.html.twig' %}

{% block title %}Rpm TRACKLIST{% endblock %}

{% block content %}

<ul class="breadcrumb">
	<li class="active"><a href="{{ path('rpm_front_homepage') }}">Home</a></li>
</ul>

<hr>

<div class="row">
	<div class="span7">

		<h2>Edition #{{ last.edition }}</h2>

		<table class="table table-hover">
			<thead>
				<tr>
					<th>#</th>
					<th>Title</th>
					<th>Artist</th>
					<th>Type</th>
				</tr>
			</thead>
			<tbody>
				{% for m in last.musiques %}
				<tr>
					<td>{{ loop.index }}</td>
					<td>{{ m.titre }}</td>
					<td>{{ m.artiste }}</td>
					<td>{{ m.type }}</td> 
				</tr>
				{% endfor %}
			</tbody>
		</table>

		<a href="{{ path('rpm_front_detail', { 'id': last.id }) }}" class="btn btn-warning">Leave a comment &raquo;</a>
		
	</div>
			
	<div class="span2">
		ESPACE PUB
	</div>
</div>

{% endblock %}